package com.example.lottery.common.errorcode;

public interface GlobalErrorCodeConstants {
    /*
    接口中常量默认是public static final
     */
    ErrorCode SUCCESS=new ErrorCode(200,"成功"); //定义成功常量
    ErrorCode INTERNAL_SERVER_ERROR=new ErrorCode(500,"系统异常");
    ErrorCode UNKNOWN=new ErrorCode(999,"未知异常");


}
